package com.sh.等待唤醒机制;

/**
 * @Auther: sh
 * @Version 1.0
 * @Description:
 */
public class Test {
    public static void main(String[] args) {

        Cook cook = new Cook();
        Foodie f = new Foodie();
        cook.setName("厨师");
        f.setName("吃货");
        cook.start();
        f.start();
    }
}

